<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>优惠券列表</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">

    <link href="css/plugins/jquery-confirm/jquery-confirm.min.css" rel="stylesheet">

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/core.js"></script>
</head>
<body>
<div>
    <a class=" btn btn-inline btn-sm dz-message drop-a" href="coupon_add.html" style="font-size: 16px;text-decoration:underline">添加优惠券</a>
</div>


<!-- Modal -->
<div class="modal fade" id="publishModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                    <span class="sr-only">Close</span>
                </button>
                <h4 class="modal-title" id="shipLabel">优惠券发放</h4>
            </div>
            <form class="form-horizontal" name="form" novalidate="" style="">
                <div class="modal-body">
                    <div style="padding: 10px 0px;">
                        <div class="ng-scope" style="">
                            <div class="form-group"><label class="col-sm-2 control-label">标题:</label>
                                <div class="col-sm-8 ng-binding" style="line-height: 30px;">
                                    <span id="modalTitle"></span>
                                </div>
                            </div>
                            <div class="form-group"><label
                                    class="col-sm-2 control-label">用户id:</label>
                                <div class="col-sm-2"><input id="modalUserId" style="width: 200px;" type="number"
                                                             class="form-control input-sm">
                                </div>
                            </div>
                         <!--   <div class="form-group"><label class="col-sm-2 control-label">选择性别:</label>
                                <div class="col-sm-8">
                                    <div class="radio inline"><input type="radio" id="radio-3" name="sexRadio"
                                                                     class="sexRadio" value="" checked>
                                        <label for="radio-2">全部</label></div>
                                    <div class="radio inline"><input type="radio"
                                                                     id="radio-1"
                                                                     class="sexRadio"
                                                                     name="sexRadio"
                                                                     value="男" > <label
                                            for="radio-1">男</label></div>
                                    <div class="radio inline"><input type="radio" id="radio-2" name="sexRadio"
                                                                     class="sexRadio" value="女">
                                        <label for="radio-2">女</label></div>
                                </div>
                            </div>
                            <div class="form-group"><label
                                    class="col-sm-2 control-label">选择会员类型:</label>
                                <div class="col-sm-8">
                                    <div>
                                        <select id="modalMemberType" name="" class="form-control"
                                                style="width: 40%;">
                                            <option value="">全部</option>
                                            <option value="1">体验会员</option>
                                            <option value="2">彩虹会员</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group"><label
                                    class="col-sm-2 control-label">最小年龄:</label>
                                <div class="col-sm-2"><input id="modalMinAge" style="width: 200px;" type="number"
                                                             class="form-control input-sm">
                                </div>
                            </div>
                            <div class="form-group"><label
                                    class="col-sm-2 control-label">最大年龄:</label>
                                <div class="col-sm-2"><input id="modalMaxAge" style="width: 200px;" type="number"
                                                             class="form-control input-sm">
                                </div>
                            </div>-->
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" onclick="publish()" data-dismiss="modal" class="btn btn-primary">确定</button>
                    <button type="button" onclick="window.location.reload()" class="btn btn-secondary"
                            data-dismiss="modal">取消
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div class="ibox-content">
    <div class="btn-group hidden-xs" id="CouponToolbar" role="group">
     <!--   <button type="button" class="btn btn-outline btn-default" onclick="changeStatusBatch(1);">
            <i class="glyphicon glyphicon-plus" aria-hidden="true">发布</i>
        </button>-->
        <div style="float: left;margin: 0 5px 0 25px">
            <span>优惠券类型筛选:</span>
        </div>
        <div style="float: left">
            <select id="curType" name="" class="form-control">
                <option value="">全部</option>
                <option value="1">无门槛抵扣</option>
                <option value="2">满减</option>
            </select>
        </div>
        <div style="float: left;margin: 0 5px 0 25px">
            <span>发放标识筛选:</span>
        </div>
        <div style="float: left">
            <select id="curDiffTag" name="" class="form-control">
                <option value="">全部</option>
                <option value="1">普通优惠券</option>
                <option value="2">注册自动发放</option>
                <option value="3">分享邀请下载</option>
                <option value="4">分享到朋友圈</option>
            </select>
        </div>
        <div style="float: left;margin: 0 5px 0 25px">
            <span>适用会员筛选:</span>
        </div>
        <div style="float: left">
            <select id="curLimitMember" name="" class="form-control">
                <option value="">全部</option>
                <option value="1">全部会员</option>
                <option value="2">彩虹会员</option>
            </select>
        </div>
    </div>
    <h3 style="text-align: center">优惠券列表</h3>
    <table id="coupon_list_table" data-toolbar="#CouponToolbar">
    </table>
</div>


<!--bootstrap-table-->
<script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<!--alert-beautify-->
<script src="js/plugins/jquery-confirm/jquery-confirm.min.js"></script>
<!--自己加的美化alert、confirm配置-->
<script src="js/alert-beautify.js"></script>
<!-- layerDate plugin javascript -->
<script src="js/plugins/laydate/laydate.js"></script>

<script src="js/coupon_list.js"></script>
</body>
</html>